package jch.learn.java.advanced.chapter9_security.verifier;

import java.awt.*;

public class VerifierTest {

    public static void main(String[] args) {
        System.out.println("1 + 2 == " + fun());
    }

    private static int fun() {
        int m;
        int n;
        m = 1;
        // 通过使用工具 查看class文件，并修改n的字节码(十六进制数据) 并再启动检查文件
        n = 2;
        int r = m + n;
        return r;
    }

    public void paint(Graphics graphics){
        graphics.drawString("1 + 2 == " + fun(),20,20);
    }

}
